package io.github.talelin.latticy.service.oms;

import io.github.talelin.latticy.dto.oms.inbound_order.ReceivingSkuDTO;
import io.github.talelin.latticy.model.oms.InboundPackagesItemsDO;
import com.baomidou.mybatisplus.extension.service.IService;
import io.github.talelin.latticy.vo.ReceivingRecordVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 入库单子项表 服务类
 * </p>
 *
 * @author generator@TaleLin
 * @since 2022-05-18
 */
public interface InboundPackagesItemsService extends IService<InboundPackagesItemsDO> {

     List<InboundPackagesItemsDO> getPackagesItemsByPackageNoList(List<String> packagesNoList);

     Map<String, List<InboundPackagesItemsDO>> getPackagesItemsMapByPackageNoList(List<String> packagesNoList);

     boolean batchUpdateReceiveQuantityByIds(List<ReceivingSkuDTO> skus);

     boolean updateReceiveQuantityByPackageNo(ReceivingRecordVO receivingRecordVO);
}
